@echo off

set reversewords_output_path=.\build\ReverseWords

echo.
echo Ensuring output directory (%reversewords_output_path%) exists...
if not exist %reversewords_output_path% md %reversewords_output_path%

echo.
echo Building ReverseWords...
javac -cp ".\CodeJamCore\src;.ReverseWords\src" -d "%reversewords_output_path%" ".\ReverseWords\src\com\google\codejam\reversewords\*.java"